package com.ujoin.dao;

import java.util.List;

import com.ujoin.bean.UserEx;

public interface IUserExDAO {

	public abstract void save(UserEx transientInstance);

	public abstract void delete(UserEx persistentInstance);

	public abstract UserEx findById(java.lang.Integer id);

	public abstract List findByExample(UserEx instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByNickname(Object nickname);

	public abstract List findBySex(Object sex);

	public abstract List findByCity(Object city);

	public abstract List findByDistrict(Object district);

	public abstract List findByHeadImage(Object headImage);

	public abstract List findByPersonalWord(Object personalWord);

	public abstract List findAll();

	public abstract UserEx merge(UserEx detachedInstance);

	public abstract void attachDirty(UserEx instance);

	public abstract void attachClean(UserEx instance);

}